package com.yilin.tms.core.entity.user.hatch;


import com.baomidou.mybatisplus.annotation.TableName;
import com.yilin.tms.core.commons.base.BaseEntity;
import com.yilin.tms.core.commons.annotation.Explain;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

@Entity
@Table(name = "hatch_alipay")
@TableName(value = "hatch_alipay")
public class HatchAlipay extends BaseEntity {
    @Column(name = "plat_id")
    private String platId;
    @Column(name = "plat_name")
    private String platName;
    @Column(name = "ali_pay_back_url")
    @Explain("返回通知地址")
    private String aliPayBackUrl;//返回通知地址

    //---------------貨主端---------------------------
    @Explain("APPID")
    @Column(name = "shipper_alipay_app_id")
    private String shipperAlipayAppId;//APPID
    @Explain("支付宝合作者商户PID")
    @Column(name = "shipper_p_id")
    private String shipperPId;//支付宝合作者商户PID
    @Column(name = "shipper_url_scheme")
    private String shipperUrlScheme;//IOS跳转连接

    @Explain("RSA私钥")
    @Column(name = "shipper_app_private_key_url", columnDefinition = "TEXT")
    private String shipperAppPrivateKeyUrl;//RSA私钥
    @Explain("证书路径")
    @Column(name = "shipper_app_public_key_url")
    private String shipperAppPublicKeyUrl;////设置应用公钥证书路径
    @Explain("证书路径")
    @Column(name = "shipper_alipay_cert_folder_url")
    private String shipperAlipayCertFolderUrl;//设置支付宝公钥证书路径
    @Explain("Root证书路径")
    @Column(name = "shipper_alipay_root_cert_folder_url")
    private String shipperAlipayRootCertFolderUrl;//设置支付宝根证书路径


    //---------------司机端---------------------------
    @Explain("APPID")
    @Column(name = "trucker_alipay_app_id")
    private String truckerAlipayAppId;//APPID
    @Explain("支付宝合作者商户PID")
    @Column(name = "trucker_p_id")
    private String truckerPId;//支付宝合作者商户PID
    @Column(name = "trucker_url_scheme")
    private String truckerUrlScheme;//IOS跳转连接

    @Explain("RSA私钥路径")
    @Column(name = "trucker_app_private_key_url")
    private String truckerAppPrivateKeyUrl;//RSA私钥
    @Explain("RSA公钥路径")
    @Column(name = "trucker_app_public_key_url")
    private String truckerAppPublicKeyUrl;///设置应用公钥证书路径
    @Explain("证书路径")
    @Column(name = "trucker_alipay_cert_folder_url")
    private String truckerAlipayCertFolderUrl;//设置支付宝公钥证书路径
    @Explain("Root证书路径")
    @Column(name = "trucker_alipay_root_cert_folder_url")
    private String truckerAlipayRootCertFolderUrl;//设置支付宝根证书路径

    public String getPlatId() {
        return platId;
    }

    public void setPlatId(String platId) {
        this.platId = platId;
    }

    public String getPlatName() {
        return platName;
    }

    public void setPlatName(String platName) {
        this.platName = platName;
    }

    public String getAliPayBackUrl() {
        return aliPayBackUrl;
    }

    public void setAliPayBackUrl(String aliPayBackUrl) {
        this.aliPayBackUrl = aliPayBackUrl;
    }

    public String getShipperAlipayAppId() {
        return shipperAlipayAppId;
    }

    public void setShipperAlipayAppId(String shipperAlipayAppId) {
        this.shipperAlipayAppId = shipperAlipayAppId;
    }

    public String getShipperPId() {
        return shipperPId;
    }

    public void setShipperPId(String shipperPId) {
        this.shipperPId = shipperPId;
    }

    public String getShipperUrlScheme() {
        return shipperUrlScheme;
    }

    public void setShipperUrlScheme(String shipperUrlScheme) {
        this.shipperUrlScheme = shipperUrlScheme;
    }

    public String getShipperAppPrivateKeyUrl() {
        return shipperAppPrivateKeyUrl;
    }

    public void setShipperAppPrivateKeyUrl(String shipperAppPrivateKeyUrl) {
        this.shipperAppPrivateKeyUrl = shipperAppPrivateKeyUrl;
    }

    public String getTruckerAppPrivateKeyUrl() {
        return truckerAppPrivateKeyUrl;
    }

    public void setTruckerAppPrivateKeyUrl(String truckerAppPrivateKeyUrl) {
        this.truckerAppPrivateKeyUrl = truckerAppPrivateKeyUrl;
    }

    public String getShipperAppPublicKeyUrl() {
        return shipperAppPublicKeyUrl;
    }

    public void setShipperAppPublicKeyUrl(String shipperAppPublicKeyUrl) {
        this.shipperAppPublicKeyUrl = shipperAppPublicKeyUrl;
    }

    public String getShipperAlipayCertFolderUrl() {
        return shipperAlipayCertFolderUrl;
    }

    public void setShipperAlipayCertFolderUrl(String shipperAlipayCertFolderUrl) {
        this.shipperAlipayCertFolderUrl = shipperAlipayCertFolderUrl;
    }

    public String getShipperAlipayRootCertFolderUrl() {
        return shipperAlipayRootCertFolderUrl;
    }

    public void setShipperAlipayRootCertFolderUrl(String shipperAlipayRootCertFolderUrl) {
        this.shipperAlipayRootCertFolderUrl = shipperAlipayRootCertFolderUrl;
    }

    public String getTruckerAlipayAppId() {
        return truckerAlipayAppId;
    }

    public void setTruckerAlipayAppId(String truckerAlipayAppId) {
        this.truckerAlipayAppId = truckerAlipayAppId;
    }

    public String getTruckerPId() {
        return truckerPId;
    }

    public void setTruckerPId(String truckerPId) {
        this.truckerPId = truckerPId;
    }

    public String getTruckerUrlScheme() {
        return truckerUrlScheme;
    }

    public void setTruckerUrlScheme(String truckerUrlScheme) {
        this.truckerUrlScheme = truckerUrlScheme;
    }

    public String getTruckerAppPublicKeyUrl() {
        return truckerAppPublicKeyUrl;
    }

    public void setTruckerAppPublicKeyUrl(String truckerAppPublicKeyUrl) {
        this.truckerAppPublicKeyUrl = truckerAppPublicKeyUrl;
    }

    public String getTruckerAlipayCertFolderUrl() {
        return truckerAlipayCertFolderUrl;
    }

    public void setTruckerAlipayCertFolderUrl(String truckerAlipayCertFolderUrl) {
        this.truckerAlipayCertFolderUrl = truckerAlipayCertFolderUrl;
    }

    public String getTruckerAlipayRootCertFolderUrl() {
        return truckerAlipayRootCertFolderUrl;
    }

    public void setTruckerAlipayRootCertFolderUrl(String truckerAlipayRootCertFolderUrl) {
        this.truckerAlipayRootCertFolderUrl = truckerAlipayRootCertFolderUrl;
    }
}
